package com.manthano.applogin.management.bo;

import java.util.Collection;
import java.util.HashSet;

import com.manthano.applogin.authorization.bo.UserRole;

/**
 * @author Dell
 */
public class LoginUser
{
	private Collection<UserRole>	roles	= new HashSet<UserRole>();
	private AppUser					appUser	= null;

	/**
	 * @return the appUser
	 */
	public AppUser getAppUser()
	{
		return appUser;
	}

	/**
	 * @param appUser
	 *            the appUser to set
	 */
	public void setAppUser(AppUser appUser)
	{
		this.appUser = appUser;
	}

	/**
	 * @return the roles
	 */
	public Collection<UserRole> getRoles()
	{
		return roles;
	}

	/**
	 * @param roles
	 *            the roles to set
	 */
	public void setRoles(Collection<UserRole> roles)
	{
		this.roles = roles;
	}

}
